﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Com.CMS263.DAO
{
      class BaseException : Exception
    {
       // public static log4net.ILog log = log4net.LogManager.GetLogger(typeof(BaseException));
        public BaseException(string message)
            : base(message)
        {
          //  log.Error(message);
        }
        public BaseException(string message, Exception ex)
            : base(message, ex)
        {
          //  log.Error(message,ex);
        }
    }
     class DBException : BaseException
    {
        public DBException(string message)
            : base(message)
        {
        }
        public DBException(string message, Exception ex)
            : base(message, ex)
        {

        }
    }
}

